{extend name="common/menu_child" /}

{block name="nav"}
<span class="layui-breadcrumb">
	<a>系统设置</a>
	<a><cite>基本信息</cite></a>
</span>
{/block}

{block name="body"}
<div class="layui-row">
	<form class="layui-form layui-col-md12 x-so">
		<input class="layui-input" placeholder="标题" name="title" value="{$condition.title}" autocomplete="off" />
		<button class="layui-btn"><i class="layui-icon">&#xe615;</i></button>
	</form>
</div>
<table class="layui-table">
	<thead>
		<tr>
			<th>序号</th>
			<th>标题</th>
			<th>介绍</th>
			<th>内容</th>
			<th>修改时间</th>
			<th>操作</th>
		</tr>
	</thead>
	<tbody>
		{eq name="data_list|count" value="0"}
			<tr>
				<td colspan="20">暂无数据</td>
			</tr>
		{else/}
			{foreach name="data_list" item="vo" key="ko"}
			<tr>
				<td>{$ko + 1}</td>
				<td>{$vo.name}</td>
				<td>{$vo.describe}</td>
				<td>{$vo.value}</td>
				<td>{eq name="vo.update_time" value="0"}未修改{else/}{$vo.update_time|date='Y-m-d H:i:s',###}{/eq}</td>
				<td class="td-manage">
					<a title="编辑内容" href="{:url('edit_detail', array('id' => $vo['id']))}">
						<i class="layui-icon">&#xe642;</i>
					</a>
				</td>
			</tr>
			{/foreach}
		{/eq}
	</tbody>
</table>

<div class="page">{$page}</div>
{/block}

{block name="javascript"}
<script type="text/javascript"></script>
{/block}